<!--<!DOCTYPE html>-->
<!--<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">-->
<!--<head>-->
<!--    <th:block th:include="include :: header('软装列表')"/>-->

<!--</head>-->
<!--<body class="gray-bg">-->
<!--<div class="mian_top_01">-->
<!--    <div class="mian_top_r">-->
<!--    </div>-->
<!--    <div class="mian_top_l">-->
<!--    </div>-->

<!--    <div class="container-div">-->
<!--        <div class="row">-->
<!--            <div class="col-sm-12 search-collapse">-->
<!--                <form id="operlog-form">-->
<!--                    <div class="select-list">-->
<!--                        <ul>-->
<!--                            <li>-->
<!--                                <input type="text" name="project_name"/><a class="btn btn-primary btn-rounded btn-sm"-->
<!--                                                                           onclick="$.table.search()"><i-->
<!--                                    class="fa fa-search"></i>&nbsp;搜索</a>-->
<!--                                <a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i-->
<!--                                        class="fa fa-refresh"></i>&nbsp;重置</a>-->
<!--                            </li>-->
<!--                        </ul>-->
<!--                    </div>-->
<!--                </form>-->
<!--            </div>-->

<!--            <div class="col-sm-12 select-table table-striped">-->
<!--                <table id="bootstrap-table"></table>-->
<!--            </div>-->
<!--        </div>-->
<!--    </div>-->
<!--</div>-->


<!--<th:block th:include="include :: footer"/>-->
<!--<script th:inline="javascript">-->
<!--    var editFlag = [[${@permission.hasPermi('system:role:edit')}]];-->
<!--    var removeFlag = [[${@permission.hasPermi('system:role:remove')}]];-->
<!--    var prefix = ctx + "knowledgemanagement/knowledgeSoft";-->

<!--    $(function () {-->
<!--        var options = {-->
<!--            url: prefix + "/list",-->
<!--            createUrl: prefix + "/add",-->
<!--            updateUrl: prefix + "/edit",-->
<!--            detailUrl : prefix + "/detail/{id}",-->
<!--            removeUrl: prefix + "/remove",-->
<!--            exportUrl: prefix + "/export",-->
<!--            sortName: "project_id",-->
<!--            modalName: "软装",-->
<!--            columns: [{-->
<!--                //field: 'state',-->
<!--                checkbox: true-->
<!--            },-->
<!--                {-->
<!--                    field: 'project_name',-->
<!--                    title: '项目名称',-->
<!--                    align: "center",-->
<!--                },-->

<!--                {-->
<!--                    field: 'project_start',-->
<!--                    title: '开始时间',-->
<!--                    align: "center",-->
<!--                },-->
<!--                {-->
<!--                    field: 'project_end',-->
<!--                    title: '结束时间',-->
<!--                    align: "center",-->
<!--                },-->
<!--                {-->
<!--                    field: 'project_info',-->
<!--                    title: '项目简介',-->
<!--                    align: "center",-->
<!--                },-->
<!--                {-->
<!--                    field: 'project_file',-->
<!--                    title: '附件',-->
<!--                    align: "center",-->
<!--                },-->
<!--                {-->
<!--                    title: '操作',-->
<!--                    align: 'center',-->
<!--                    formatter: function (value, row, index) {-->
<!--                        var actions = [];-->
<!--                        actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.detail(\'' + row.roleId + '\')"><i class="fa fa-search"></i></i>查看</a> ');-->
<!--                        return actions.join('');-->
<!--                    }-->
<!--                }]-->
<!--        };-->
<!--        $.table.init(options);-->
<!--    });-->
<!--</script>-->


<!--</body>-->
<!--</html>-->

<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <th:block th:include="include :: header('软装列表')"/>

</head>
<body class="gray-bg">
<div class="mian_top_01">
    <div class="mian_top_r">
    </div>
    <div class="mian_top_l">
    </div>
    <div class="mian_top_c">

    </div>
    <div class="container-div">
        <div class="row">
            <div class="col-sm-12 search-collapse">
                <form id="operlog-form">
                    <div class="select-list">
                        <ul>
                            <li>
                                <input type="text" name="project_name"/><a class="btn btn-primary btn-rounded btn-sm"
                                                                           onclick="$.table.search()"><i
                                    class="fa fa-search"></i>&nbsp;搜索</a>
                                <a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i
                                        class="fa fa-refresh"></i>&nbsp;重置</a>
                            </li>
                        </ul>
                    </div>
                </form>
            </div>

            <div class="col-sm-12 select-table table-striped">
                <table id="bootstrap-table"></table>
            </div>
        </div>
    </div>
</div>


<th:block th:include="include :: footer"/>
<script th:inline="javascript">
    var editFlag = [[${@permission.hasPermi('system:role:edit')}]];
    var removeFlag = [[${@permission.hasPermi('system:role:remove')}]];
    var prefix = ctx + "knowledgemanagement/knowledgeSoft";

    $(function () {
        var options = {
            url: prefix + "/list",
            createUrl: prefix + "/add",
            updateUrl: prefix + "/edit",
            detailUrl : prefix + "/detail/{id}",
            removeUrl: prefix + "/remove",
            exportUrl: prefix + "/export",
            sortName: "project_id",
            modalName: "软装",
            columns: [{
                //field: 'state',
                checkbox: true
            },
                {
                    field: 'project_name',
                    title: '项目名称',
                    align: "center",
                },

                {
                    field: 'project_start',
                    title: '开始时间',
                    align: "center",
                },
                {
                    field: 'project_end',
                    title: '结束时间',
                    align: "center",
                },
                {
                    field: 'project_info',
                    title: '项目简介',
                    align: "center",
                },
                {
                    field: 'project_file',
                    title: '附件',
                    align: "center",
                },
                {
                    title: '操作',
                    align: 'center',
                    formatter: function (value, row, index) {
                        var actions = [];
                        actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.detail(\'' + row.project_id + '\')"><i class="fa fa-search"></i></i>查看</a> ');
                        return actions.join('');
                    }
                }]
        };
        $.table.init(options);
    });
</script>


</body>
</html>





